package cst.a806yf.zyfypt_806yf.Activity;

import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.webkit.WebView;

import cst.a806yf.zyfypt_806yf.R;

public class TcaseActivity extends AppCompatActivity {
    private WebView webView;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_tcase);
        webView=(WebView)findViewById(R.id.webview_tcase);
        int id;
        id=getIntent().getIntExtra("id",1);
        webView.loadUrl("http://amicool.neusoft.edu.cn/tcase.php/show/index/id/"+id+".html");
    }
}
